package com.atguigu;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController

public class HelloController {
    @Autowired
    private AtguiguProperties atguiguProperties;
    @GetMapping("/h01")
    public String h01(){
        return atguiguProperties.toString();
    }

}
